﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="role_add" data-title="添加角色" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>添加角色</dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">角色列表</a></li>
							<li class="ali-active"><a>添加角色</a></li>
							<li><a href="privilege.aspx?Lang=<%=ContentLang%>" target="ali-navtab">特权设置</a></li>
						</ul>				
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel"></div>
					<div class="ali-tabs-panel">
						<table class="post-table margin2">
                            <tr>
                                <th width="120">名称：</th>
                                <td><input type="text" name="Name" maxlength="50" class="ali-input <%=ContentLang%>Font"></td>
                            </tr>
							<tr>
								<th>描述：</th>
								<td><textarea name="Description" cols="60" rows="6" class="ali-input"></textarea></td>
							</tr>
                            <tr>
                                <th>默认有特权：</th>
                                <td>
                                    <label><input type="radio" name="HasPrivilegeByDefault" value="true" checked>是</label>
                                    <label><input type="radio" name="HasPrivilegeByDefault" value="false">否</label>
                                </td>
                            </tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">添 加</button></div>
	</form>
</section>